//判断是否为微信浏览器访问
function Wechat() 
{
    var ua = navigator.userAgent.toLowerCase();
    return ua.match(/MicroMessenger/i) == "micromessenger" ? true : false;
}